div:not(
    :last-child
    ) {
}

:not(
    div 
    
    +
     #id:hover
     
     ) {}